<template>
  <div>
    <WcjHeader></WcjHeader>
    <Recommend :categoryId="categoryId"></Recommend>
  </div>
</template>

<script  lang="ts">
import { onMounted, ref } from "@vue/runtime-core";
import Recommend from "./recommend.vue";
import { useRoute } from "vue-router";
export default {

  name: "HomeCategory",
};
</script>
<script setup lang="ts">
const categoryId: any = ref("");
const route = useRoute();
onMounted(() => {
  categoryId.value = route.query.categoryId;
});
</script>

<style scoped>
</style>